package service;

import java.util.List;

import pojo.Order;
import pojo.OrderItem;

/**
 * Created by CHENCO7 on 8/12/2017.
 */
public interface OrderManager {
    List<OrderItem> addOrderItemToSession(OrderItem item, List<OrderItem> orderList);

    boolean addOrder(Order order);

    Order loadOrder(String id);

    Order updateOrder(Order order);

    List<Order> loadOrderList(String id);
    
    boolean addComment(String comment, String starCount, String o_id);
    
    boolean addComplain(String comment, String o_id);

    Order loadOrderItem(String s);

    Order determineReceipt(String orderId);
}
